{% extends 'base.html' %}

{% block contents %}
<div class="excerpt-minic excerpt-minic-index">
     <form action="" method="post">
        <div class="input-group">
            {{form.hidden_tag()}}
            {{form.username.label}}
            <br />{{form.username(class='form-control',size=32)}}
            <br />
            {% for er in form.username.errors %}
            <span style="color:red">[{{er}}]</span>
            {% endfor %}
          <br />
            {{form.password.label}}
            <br/> {{form.password(size=32,class='form-control')}}
            {% for error in form.password.errors %}
            <span style="color: red;">[{{ error }}]</span>
            {% endfor %}
          <br />
            {{ form.password2.label }}
            {{ form.password2(size=32,class='form-control')}}
            {% for error in form.password2.errors %}
            <span style="color: red;">[{{ error }}]</span>
            {% endfor %}
  <br />
           {{ form.email.label }}
            {{ form.email(size=32,class='form-control')}}
            {% for error in form.email.errors %}
            <span style="color: red;">[{{ error }}]</span>
            {% endfor %}
  <br />
            <p></p>
            {{ form.submit(class='btn btn-default') }}
        </div>
    </form>
</div>
{% endblock %}